/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #ECFAE5;
    --color-secondary: #65DB77;
    --color-tertiary: #B0DB9C;
    --color-accent: #CAE8BD;
    --color-dark: #2c3e50;
    --color-text: #34495e;
    --color-text-light: #7f8c8d;
    --color-white: #ffffff;
    --color-shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Top Navigation */
.top-nav {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.top-nav .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.social-icons {
    display: flex;
    gap: var(--spacing-xs);
}

.social-icons a {
    color: var(--color-text);
    font-size: 0.9rem;
    padding: var(--spacing-xs);
    border-radius: 50%;
    /* background: rgba(255, 255, 255, 0.2); */
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    /* background: var(--color-accent); */
    color: var(--color-white);
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.email {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Main Navigation */
.main-nav {
    background: var(--color-white);
    padding: var(--spacing-sm) 0;
    box-shadow: 0 2px 10px var(--color-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-nav.hidden {
    transform: translateY(-100%);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    height: 30px;
    width: auto;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.nav-logo .logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px var(--color-shadow);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.nav-link:hover {
    color: var(--color-text);
    background: rgba(152, 168, 248, 0.1);
    transform: translateY(-2px);
}

/* Unique hover effects for each menu item */
.nav-item:nth-child(1) .nav-link:hover {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-tertiary));
}

.nav-item:nth-child(2) .nav-link:hover {
    background: linear-gradient(135deg, var(--color-tertiary), var(--color-accent));
}

.nav-item:nth-child(3) .nav-link:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.nav-item:nth-child(4) .nav-link:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-tertiary));
}

.nav-item:nth-child(5) .nav-link:hover {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
}

.nav-item:nth-child(6) .nav-link:hover {
    background: linear-gradient(135deg, var(--color-tertiary), var(--color-secondary));
}

.nav-item:nth-child(7) .nav-link:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(152, 168, 248, 0.2));
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
    color: var(--color-white);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    animation: slideInUp 1s ease-out;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.2s both;
}

.cta-button {
    background: linear-gradient(135deg, var(--color-accent), var(--color-tertiary));
    color: var(--color-white);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    animation: slideInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(152, 168, 248, 0.4);
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* 1st section starts from here */
.business-section {
        display: flex;
        flex-wrap: wrap;
        padding: 40px;
        max-width: 1200px;
        margin: auto;
        gap: 20px;
    }
    .left-side, .right-side {
        flex: 1;
        min-width: 300px;
    }
    .left-side h1 {
        font-size: 36px;
        margin-bottom: 20px;
        color: #333;
    }
    .left-side h1 span {
        color: #65DB77;
    }
    .left-side p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 15px;
        color: #000000;
    }
    .left-side p.bold {
        font-weight: bold;
        color: #000;
    }
    .logos {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
    }
    .logos img {
        height: 60px;
        object-fit: contain;
    }
    .right-side {
        position: relative;
    }
    .slideshow img {
        width: 100%;
        border-radius: 10px;
        display: none;
    }
    .slideshow img.active {
        display: block;
    }
/* 1st section ends here */


/* 2nd section starts from here */
 .stats-section {
      background: linear-gradient(to bottom, #65DB77 0%, #B0DB9C 100%);
      padding: 60px 20px;
    }

    .stats-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
    }

    .stat-box {
      background: #cae8bd9b;
      padding: 40px 20px;
      text-align: center;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .stat-number {
      font-size: 48px;
      font-weight: 700;
      color: #000000;
      margin-bottom: 10px;
      display: block;
    }

    .stat-label {
      font-size: 15px;
      color: #000000;
      line-height: 1.4;
    }

    /* Values Section */
    .values-section {
      background-image: url('/Images/missionandvision.png');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      position: relative;
      padding: 80px 20px;
    }

    .values-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      /* background: #65db7756; */
    }

    .values-container {
      max-width: 1400px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .vision-mission-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
    }

    .value-box {
      border: 2px solid rgba(100, 200, 255, 0.4);
      padding: 40px;
      border-radius: 4px;
      background: #65db77b8;
    }

    .value-box h2 {
      font-size: 32px;
      color: #ffffff;
      margin-bottom: 20px;
      font-weight: 600;
    }

    .value-box p {
      color: #ffffff;
      font-size: 15px;
      line-height: 1.7;
    }

    .our-values-box {
      border: 2px solid rgba(100, 200, 255, 0.4);
      padding: 50px;
      border-radius: 4px;
      background: #65db77b8;
    }

    .our-values-box h2 {
      font-size: 36px;
      color: #ffffff;
      margin-bottom: 40px;
      text-align: center;
      font-weight: 600;
    }

    .values-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
    }

    .value-item h3 {
      color: #ffffff;
      font-size: 18px;
      margin-bottom: 12px;
      font-weight: 600;
    }

    .value-item p {
      color: #ffffff;
      font-size: 15px;
      line-height: 1.6;
    }

    @media (max-width: 768px) {
      .vision-mission-grid {
        grid-template-columns: 1fr;
      }

      .stat-number {
        font-size: 36px;
      }

      .values-grid {
        grid-template-columns: 1fr;
      }

      .our-values-box {
        padding: 30px 20px;
      }
    }/* 2nd section ends here */

/* 3rd section starts here */

 .timeline-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 20px;
           
        }

        .header {
            text-align: center;
            margin-bottom: 30px;
        }

        .header h1 {
            font-size: 32px;
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 25px;
            color: #000000;
        }

        .header h1 .multichem {
            color: #CAE8BD;
        }

        .header h1 .legacy {
            color: #65DB77;
        }

        .header p {
            font-size: 15px;
            line-height: 1.6;
            color: #000000;
            max-width: 900px;
            margin: 0 auto;
        }

        .timeline-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 80px;
            gap: 50px;
        }

        .timeline-item.reverse {
            flex-direction: row-reverse;
        }

        .logo-container {
            flex-shrink: 0;
            width: 230px;
            height: 180px;
            position: relative;
        }

        .logo-card {
            width: 120%;
            height: 120%;
            /* background: #ffffff; */
            /* border-radius: 3px; */
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
        }

        /* .logo-card::after {
            content: '';
            position: absolute;
            bottom: -8px;
            right: -8px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 50%, #d0d0d0 100%);
            border-radius: 0 0 50% 0;
            box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.1);
        } */

        .logo-card img {
            max-width: 85%;
            max-height: 85%;
            object-fit: contain;
            position: relative;
            z-index: 1;
        }

        .content {
            flex: 1;
            padding-top: 10px;
        }

        .content h2 {
            font-size: 32px;
            font-weight: 700;
            color: #65DB77;
            margin-bottom: 15px;
        }

        .content p {
            font-size: 15px;
            line-height: 1.7;
            color: #000000;
        }

        .content strong {
            font-weight: 600;
        }

        @media (max-width: 768px) {
            body {
                padding: 30px 20px;
            }

            .header h1 {
                font-size: 42px;
            }

            .timeline-item {
                flex-direction: column !important;
                align-items: center;
                text-align: center;
            }

            .logo-container {
                margin-bottom: 20px;
            }
        }

/* 3rd section ends here */

/* 4th section starts here */

 .services-section {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-height: 80vh;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* ============ Left Image Area ============ */
.services-images {
    flex: 1;
    position: relative;
    /* border-radius: 0 30px 300px 0; */
}

.services-images img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
   /* border-radius: 0 30px 30px 0; */
}

.services-images img.active {
    opacity: 1;
}

/* ============ Right Text Content ============ */
.services-content {
    flex: 1;
    background: #ffffff;
    padding: 60px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.08);
}

.services-content h2 {
    font-size: 34px;
    color: #65DB77;
    margin-bottom: 25px;
    font-weight: 700;
}

.services-content p.intro {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* ============ Service Items ============ */
.service-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 28px;
}

.service-item i {
    color: #22c55e;
    font-size: 22px;
    margin-right: 14px;
    margin-top: 3px;
}

.service-item h3 {
    font-size: 18px;
    margin: 0;
    color: #0f172a;
    font-weight: 600;
}

.service-item p {
    font-size: 15px;
    color: #475569;
    margin-top: 6px;
    line-height: 1.7;
}

/* ============ Responsive Design ============ */
@media (max-width: 992px) {
    .services-section {
        flex-direction: column;
    }
    .services-images {
        height: 320px;
    }
    .services-content {
        padding: 40px 25px;
    }
}
/* 4th section ends here */

/* Testmonials section starts here */

.testimonials {

  padding: 60px 20px;
  text-align: center;
}
.snip1533 {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #00000095;
  display: inline-block;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  margin: 35px 10px 10px;
  max-width: 310px;
  min-width: 250px;
  position: relative;
  text-align: center;
  width: 100%;
  /* background-color: #CAE8BD; */
  border-radius: 5px;
  border-top: 5px solid #65DB77;
  text-align: center;
}

.snip1533 *,
.snip1533 *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}

.snip1533 figcaption {
  padding: 13% 10% 12%;
}

.snip1533 figcaption:before {
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  color: #65DB77;
  content: "\f10e";
  font-family: 'FontAwesome';
  font-size: 32px;
  font-style: normal;
  left: 50%;
  line-height: 60px;
  position: absolute;
  top: -30px;
  width: 60px;
}

.snip1533 h3 {
  color: #3c3c3c;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  margin: 10px 0 5px;
}

.snip1533 h4 {
  font-weight: 400;
  margin: 0;
  opacity: 0.5;
}

.snip1533 blockquote {
  font-style: italic;
  font-weight: 300;
  margin: 0 0 20px;
}


/* Testmonials section ends here */

/* Footer */
.footer {
    border-top: 1px solid rgba(177, 177, 177, 0.325);
    background: var(--color-white);
    color: var(--color-dark);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    height: 60px;
    margin-bottom: var(--spacing-sm);
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-left p {
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.7;
}

.footer-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--spacing-xs);
}

.footer-column a {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--color-secondary);
}

.footer-social {
    display: flex;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xs);
}

.footer-social a {
    padding: var(--spacing-xs);
    /* background: rgba(255, 255, 255, 0.1); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

/* .footer-social a:hover {
    background: var(--color-accent);
} */

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    z-index: 1001;
}

.whatsapp-float,
.back-to-top {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-white);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-float {
    background: #25D366;
    margin-bottom: var(--spacing-xs);
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.back-to-top {
    background: var(--color-accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-tertiary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(152, 168, 248, 0.4);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        gap: var(--spacing-lg);
    }
    
    .stats {
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .top-nav-right {
        flex-direction: column;
        gap: var(--spacing-xs);
        align-items: flex-end;
    }
    
    .main-nav .container {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-sm);
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: var(--spacing-xs);
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats {
        justify-content: center;
        gap: var(--spacing-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-menu {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-xs);
    }
    
    .top-nav {
        padding: 0.3rem 0;
    }
    
    .social-icons {
        gap: 0.3rem;
    }
    
    .social-icons a {
        font-size: 0.8rem;
        padding: 0.3rem;
    }
    
    .email {
        font-size: 0.8rem;
    }
    
    .main-nav {
        padding: var(--spacing-xs) 0;
    }
    
    .nav-logo .logo {
        height: 35px;
    }
    
    .nav-menu {
        gap: var(--spacing-xs);
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
    }
    
    .cta-button {
        padding: 0.7rem var(--spacing-md);
        font-size: 0.9rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .product-card {
        padding: var(--spacing-md);
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .product-card h3 {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .stat-item h4 {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .footer-left {
        margin-bottom: var(--spacing-lg);
    }
    
    .footer-logo {
        height: 50px;
    }
    
    .floating-buttons {
        bottom: var(--spacing-sm);
        right: var(--spacing-sm);
    }
    
    .whatsapp-float,
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0.3rem;
    }
    
    .nav-link {
        display: block;
        text-align: center;
        width: 100%;
    }
}